package service;

import domain.PageBean;
import domain.User;

import java.util.List;

public interface UserService {
    User login(String username, String password);

    PageBean<User> findStudentsByPage(int pageNum, int pageSize, String toString, List<Object> params);

    List<User> findAll();

    void remove(int uid);

    void addStudent(User user);

    void updateStudent(User user);
}
